-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.1.3
-
Code
-
Classes
- ShortPixelPng2Jpg
Total Complexity |
72 |
Dependencies |
6 |
Dependents |
1 |
Total lines |
461 |
Lines of code |
295 |
Logical lines of code |
210 |
Comment lines |
69 |
Methods |
10 |
Properties |
3 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
convert() |
A |
41 |
14 |
57 |
isTransParent() |
A |
42 |
14 |
46 |
updateMetaData() |
A |
44 |
14 |
44 |
convertPng2Jpg() |
A |
49 |
10 |
26 |
doConvertPng2Jpg() |
A |
40 |
7 |
58 |
restorePng2Jpg() |
S |
49 |
5 |
32 |
unique_file() |
S |
58 |
3 |
16 |
getPNGImage() |
S |
66 |
2 |
9 |
raiseMemoryLimit() |
S |
74 |
2 |
5 |
__construct() |
S |
91 |
1 |
2 |